package com.cqqs.controller.dto.res.concat;

import com.cqqs.utils.excel.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author mjxie
 * @date 2022/09/23
 */
@ApiModel("通讯录完整出参")
@Data
public class ContactRes implements Serializable {
    private static final long serialVersionUID = 2779616184358496692L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名", sort = 1)
    private String name;

    @ApiModelProperty(value = "座机")
    @Excel(name = "座机", sort = 6)
    private String phone;

    @ApiModelProperty(value = "手机")
    @Excel(name = "手机", sort = 5)
    private String mobile;

    @ApiModelProperty(value = "email")
    @Excel(name = "email", sort = 7)
    private String email;

    @ApiModelProperty(value = "单位")
    @Excel(name = "单位", sort = 2)
    private String unit;

    @ApiModelProperty(value = "部门")
    @Excel(name = "部门", sort = 3)
    private String department;

    @ApiModelProperty(value = "角色")
    @Excel(name = "角色", sort = 4)
    private String role;
}
